import axios from 'axios'

export default {
  /* 根据编号获取学校信息 */
  getSchoolByNo(schoolNo) {
    return axios.get('/basic/school/no', {
      params: {
        no: schoolNo,
      }
    });
  },
  //获取测回撤消原因
  getReasonList() {
    return axios.get('/thridclassroom/recall_reason/selectable?state=1');
  },
  //获取审核驳回原因
  getAppealRefuseList() {
    return axios.get('/thridclassroom/appeal_refuse_keywords/selectable?state=1');
  },
  //获取学年列表
  getYearList() {
    return axios({
      url: '/basic/school_year/selectable',
      method: 'get',
    });
  },
  //获取学期列表
  getTermList() {
    return axios({
      url: '/basic/term/selectable?schoolYearId=',
      method: 'get',
    });
  },
  // 获取七牛测试域名
  qiniuDomain() {
    return axios.get('/basic/qiniu/domain');
  },
  // 获取七牛token
  qiniuToken() {
    return axios.get('/basic/qiniu/token');
  },
 

}